import { getFileNameWithoutExtension } from '@/utils/util.js'
const files = require.context('./modules', false, /\.js$/)

const obj = {}
files.keys().forEach(v => {
  obj[getFileNameWithoutExtension(v)] = files(v).default
})
export default obj

